<div class="rm-container">
    <nav class="rm-nav rm-lighten">
        <ul>
            <li><a href="javascript:void(0)"><img src="/img/logo.png" class="logo"></a></li>
            <% for(var i in nav) { %>
            <li>
                <% if(typeof nav[i] === 'string') { %>
                <a href="<%- nav[i] %>"><%- i %></a>
                <% } else { %>
                <a href="<%- nav[i][0] %>"><%- i %></a>
                <ul>
                    <% for(var j in nav[i][1]){ %>
                    <li><a href="<%- nav[i][1][j] %>"><%- j %></a></li>
                    <% } %>
                </ul>
                <% } %>
            </li>
            <% } %>
        </ul>
    </nav>
    <div class="user-info">
        <span class="sys-title">双周例会管理系统</span>
        <span style="margin-right:10px;">欢迎您：<%- user.name %></span>
        <a href="/modifyPwd">修改密码</a>
        <a href="/logout">注销</a>
    </div>
</div>